package com.njust.RateMyTray_backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njust.RateMyTray_backend.dto.CommentCreateDTO;
import com.njust.RateMyTray_backend.dto.ReplyCreateDTO;
import com.njust.RateMyTray_backend.entity.Comment;

public interface CommentService extends IService<Comment> {
    Comment createComment(Long userId, CommentCreateDTO createDTO);
    
    int likeComment(Long userId, Long commentId);
    
    void replyToComment(Long userId, Long parentCommentId, ReplyCreateDTO replyDTO);
} 